<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">    
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<%@include file="/common/include_all.jsp"%>
<script type="text/javascript" src="${contextPath}/js/crawler.js"></script>
<c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application" />
	<style>
		.inputStyle{
			font-size:14; color:#DDDDDD; font-family:Fixedsys; width:100%; height:1000px; 
			border:0; background-color:#000000; padding: 10; overflow:auto
		}
	</style>
<script type="text/javascript">
//http://localhost/pages/log4j/main.jsp 访问路径
$(document).ready(function() {
	var url = '${contextPath}/se/log4j';
	$('#comet-frame')[0].src = url;
});

function update(data) {
	var resultArea = $('#result')[0];
	resultArea.value = resultArea.value + data + '\n';
}
</script>
</head>
<body style="margin:0; overflow:hidden" >
	
	<textarea id="result" readonly="true" class="inputStyle"></textarea>
	
	<iframe id="comet-frame" style="display: none;"></iframe>
	
</body>
</html>